package com.baike.service.impl;

import com.baike.entity.TbStudent;
import com.baike.mapper.TbStudentMapper;
import com.baike.service.ITbStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 李斌
 * @since 2021-10-29
 */
@Service
public class TbStudentServiceImpl extends ServiceImpl<TbStudentMapper, TbStudent> implements ITbStudentService {

    @Autowired
    private TbStudentMapper tbStudentMapper;

    @Override
    public List<TbStudent> findAll() {
        return tbStudentMapper.findAll();
    }
}
